package edu.sctu.practice.class01.lili.assgin02;

import java.util.Scanner;

/**
 * Created by Cullen on 2015/10/8.
 */
public class Open {
    public static void main(String[] args) {
        int num = 0;

        Circle circle = new Circle();

        for (int i = 0; i < 100; i++) {

            System.out.println("请输入圆的半径(保留两位小数)：");
            Scanner input = new Scanner(System.in);
            double m = input.nextDouble();


            circle.radiusValue = m;
                PrintCircle open = new PrintCircle();
                open.printCircle(circle);

              num = i + 1;
        }

        circle.numOfObjects = num;
        System.out.println("计算的圆的个数有：" + circle.numOfObjects);
    }
}
